package yuejian_07.yuejian_07.service;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;
import yuejian_07.yuejian_07.javabean.Show;

/**
 * Created by dell on 2017/10/16.
 */

public interface ShowService {
    @GET("Shows/getShowList")
    Call<List<Show>> getAllShows();
    @GET("Shows/getShowInfo")
    Call<Show> getShowById(
            @Query("show_id") int show_id
    );
    @GET("Shows/getShowsByUser")
    Call<List<Show>> getShowByUId(
            @Query("user_id") int user_id
    );
    @GET("Shows/getShowsByClub")
    Call<List<Show>> getShowByClub(
            @Query("club_id") int club_id
    );
}
